<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $_BASE_DIR?>css_v1/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>css_v1/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jmw.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/select-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>javascripts/commond.js"></script>
<link href="<?php echo $_BASE_DIR?>uploadify/css/uploadify.css"
	rel="stylesheet" type="text/css" />

<style type="text/css">
#header {
	height: 85px
}

#leftside,#container,#splitBar,#splitBarProxy {
	top: 90px
}
</style>
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 110
	});
});
</script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.ocupload.min.js"
	type="text/javascript"></script>


  
<script type="text/javascript">
function testConfirmMsg(agent_id){	
	var loginlogo=$('#loginlogo').val();
	var systemlogo=$('#systemlogo').val();
	var agent_id=parseInt(agent_id);
	$.post("/admin/system/logoimg", {agent_id:agent_id,loginlogo:loginlogo,systemlogo:systemlogo},function(data){
		if(data.statusCode==200)
		{
			alert(data.message);
			window.location.reload();
			return false;
		}else{
			alert('修改失败');
			return false;
		}
	},'json');
		
	
}
</script>


</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="<?php echo url("leftmenu/bottom")?>">首页</a></li>
    <li><a href="system/logoimg">图片管理</a></li>
    </ul>
    </div>
    <div class="formbody">
    <div id="usual1" class="usual">
  	<div id="tab1" class="tabson">
    <ul class="forminfo">
    <form action="" method="post" onsubmit="return false;">				
          
	<!-- <li>
				<label >后台登陆页logo：</label>
				<div class="vocation">				
					<?php    
					 $vala=Helper_Common::getPublicSet('loginlogo',$agent_id);					
					echo Q::control('uploadbutton','loginlogo',array('class'=>'','value'=>$vala)) ;?>
					</div>
				</li>
				<br>
				</br>
				</br>-->

		            <li> 
				<label >平台左上角文字：</label>
				<div class="vocation">				
		<?php     $valb=Helper_Common::getPublicSet('systemlogo',$agent_id);
					
				 ?> <input type="text" class="dfinput" id="systemlogo"   value="<?php echo $valb ?>"  />
					</div>
				</li>	
				</br>
				</br>	
				</br>
				</br>		
	<li><label>&nbsp;</label><input name=""  onclick="testConfirmMsg('<?php echo $agent_id?>');" type="submit" class="btn" value="修改"/></li>
	  
	
	</form>
    </ul>
      <div style="width:95%; height:100%; margin:0 auto;  font-size:14PX; line-height:20PX; color:red; line-height:18PX;">
提示： <br><br>
1、平台左上角的文字为登入平台后的左上角显示的文字，内容自己填写。<br /><br>
2、具体效果请自己调试,修改后刷新当前页面生效。
</div>
    </div></div></div></body></html>
    
